$out-border-color: #dcdee2;
$header-title-height: 36px;
$header-title-background-color: #fff;
$title-font-family: Noto Sans S Chinese;
$title-font-color: #333;
$title-font-size: 14px;
$panel-background-color: #f8fafb;
/* 标题的字体样式 */
.base-title-font {
  font-family: $title-font-family;
  color: $title-font-color;
  font-size: $title-font-size;
}
/* 标题el样式 */
.base-header-title {
  height: $header-title-height;
  line-height: $header-title-height;
  font-family: $title-font-family;
  color: $title-font-color;
  font-size: $title-font-size;
  background-color: $header-title-background-color;
  padding-left: 30px;
  border-bottom: 1px solid $out-border-color;
  position: relative;
  &::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 15px;
    width: 4px;
    height: 14px;
    background: #f98b39;
    opacity: 1;
  }
}

/* 本组件样式 */
.wrap {
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: $panel-background-color;
  .panel-left {
    flex-shrink: 0;
    position: relative;
    width: 240px;
    height: 100%;
    background-color: $panel-background-color;
    border: 1px solid $out-border-color;
    margin-right: 20px;
  }
  .panel-center {
    height: 100%;
    overflow: hidden;
    position: relative;
    background-color: $panel-background-color;
    .tool-bar {
      height: $header-title-height;
      display: flex;
      align-items: center;
      border-bottom: 1px solid $out-border-color;
      background-color: $header-title-background-color;
    }

    .el-card__body{
      padding: 0;
    }
    .box-card{
      .close-button{
        position: absolute;
        top: 0;
        right: 0;
        padding: 6px;
        margin: 1px 1px 0 0;
        border-radius: 0 0 0 10px;
        border-top: 0;
        border-right: 0;
        display: none;
      }
      &:hover{
        .close-button{
          display: inline-block;
        }
      }
    }

    .mind-history-tip{
      background: rgba(0,0,0,.7);
      border-radius: 3px;
      position: absolute;
      left: 50%;
      color: white;
      padding: 10px 15px;
      z-index: 13;
      top: 40px;
      margin-left: -122px;
      display: block;
      .mind-tip-text{
        a{
          margin-left: 10px;
          color:#fff;
          text-decoration:underline;
        }
      }
    }


    .experiments-states{
      z-index: 100;
      position: absolute;
      top: 4px;
      left: 4px;
      &.run-states{
        top: 42px;
      }
      ::v-deep.el-card__body{
        padding: 10px;
      }
      .svg-icon{
        margin-right: 4px;
        &.Success{
          color: #52c41a;
        }
        &.Failed{
          color: #ff4d4f;
        }
        &.Running{
          color: $--color-blue;
          animation: spin 1s linear infinite;
        }
        &.Paused{
          color: #E6A23C;
        }
        &.Cancelled{
          color: #606266;
        }
      }
    }
  }
}

